home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / visds / examples.txt < prev    next >
Encoding:
Text File  |  1999-05-02  |  3.0 KB  |  131 lines

  1. Example scripts
  2. ===============
  3.  
  4. These example scripts demonstrate how to use some of the features of
  5. Visual DialogScript.
  6.  
  7. Most of them don't do anything useful, but merely demonstrate specific
  8. or useful techniques, or are intended to be used as templates for your
  9. own programs.
  10.  
  11. CALC
  12. ----
  13.  
  14. Files: Calc.dsc
  15.  
  16. A simple calculator.
  17.  
  18. DDETEST
  19. -------
  20.  
  21. Files: Ddetest.dsc
  22.  
  23. This script demonstrates a use of Dynamic Data Exchange (DDE). Specify
  24. the server, topic and item and click Link to see the result. With
  25. Progman specified in each field you should see a list of program groups.
  26.  
  27. DLGTEST
  28. -------
  29.  
  30. Files: Dlgtest.dsc; dlgtest.dsr
  31.  
  32. This example script does nothing at all useful, but it demonstrates
  33. nearly all the different dialog elements and many of the events that are
  34. generated by them to give an example of how they work.
  35.  
  36. DRAGDROP
  37. --------
  38.  
  39. Files: Dragdrop.dsc
  40.  
  41. This script shows how to respond to drag and drop actions when files are
  42. dragged and dropped on to the dialog.
  43.  
  44. INFOTEST
  45. --------
  46.  
  47. Files: Infotest.dsc
  48.  
  49. Demonstrates the system information you can obtain from a script.
  50.  
  51. MMPLAY
  52. ------
  53.  
  54. Files: Mmplay.dsc; mmplay.ico
  55.  
  56. This is a drag-and-drop media player. It demonstrates the use of drag
  57. and drop and also the @MCI function to play multimedia files.
  58.  
  59. MODALDLG
  60. --------
  61.  
  62. This example demonstrates how to create and use a simple child dialog
  63. using the DIALOG SHOWMODAL command.
  64.  
  65. MULTIDLG
  66. --------
  67.  
  68. This example demonstrates how to create and use a child dialog using
  69. the DIALOG SHOW command. Though the programming is more complex than
  70. for a modal dialog, it allows the child dialog to have its own events
  71. which can be used to drive more sophisticated processing.
  72.  
  73. PARAMTST
  74. --------
  75.  
  76. Files: Paramtst.dsc
  77.  
  78. This very simple script lets you see how command line parameters are
  79. passed to a script.
  80.  
  81. PROPTIES
  82. --------
  83.  
  84. Files: Propties.dsc
  85.  
  86. This is a simple example demonstrating how to implement a tabbed
  87. property dialog using a TAB dialog element.
  88.  
  89. RESIZTST
  90. --------
  91.  
  92. Files: Resiztst.dsc
  93.  
  94. This script illustrates how the RESIZE event is processed to resize
  95. dialog elements so that they fit a resizable dialog window.
  96.  
  97. SKTEST
  98. ------
  99.  
  100. Files: Sktest.dsc
  101.  
  102. This script illustrates how to automate another application, in this
  103. case the Windows accessory WordPad, using the WINDOW SEND command.
  104.  
  105. TASKICON
  106. --------
  107.  
  108. Files: Taskicon.dsc; taskicon.dsr
  109.  
  110. This script illustrates a system tray icon application. An invisible
  111. main window is created by omitting the DIALOG SHOW. When the icon is
  112. clicked a popup menu is displayed. A modal dialog box is used to change
  113. the settings. The tray icon can be loaded from a resource file, so
  114. different icons can be encapsulated in a single file and easily
  115. displayed.
  116.  
  117. VERINFO
  118. -------
  119.  
  120. Files: Verinfo.dsc
  121.  
  122. This useful tool shows how to use the @VERINFO function to extract
  123. embedded version information from an executable file.
  124.  
  125. WIZARD
  126. ------
  127.  
  128. Files: Wizard.dsc; wizard.dsr
  129.  
  130. This is a simple example demonstrating how to implement a Wizard.
  131.